<!DOCTYPE HTML>
<html>
<body>

<script type="text/javascript">
if(localStorage.pagecount)
{
	localStorage.pagecount=Number(localStorage.pagecount) + 1;
}
else
{
	localStorage.pagecount=1;
}
document.write("Visits " + localStorage.pagecount + " time(s).");
</script>
<p> 刷新页面 计数增长 </p>
<p> 关闭浏览器，计数重置 </p>

</body>
</html>